package webbrow.board.vo;

import org.springframework.web.multipart.MultipartFile;

public class BoardSpringVO{
	private int no;
	private String id;
	private String title;
	private String content;
	private String timePosted;
	private int hits;
	private String orgFileName;
	private String saveFileName;
	private MultipartFile uploadFile;
	private String contentType;
	private int ref;
	private int restep;
	private int relevel;
	private String category;
	public BoardSpringVO() {
		super();
	}
	
	public BoardSpringVO(int no, String id, String title, String content,
			String timePosted, int hits, String orgFileName,
			String saveFileName, MultipartFile uploadFile, String contentType,
			int ref, int restep, int relevel, String category) {
		super();
		this.no = no;
		this.id = id;
		this.title = title;
		this.content = content;
		this.timePosted = timePosted;
		this.hits = hits;
		this.orgFileName = orgFileName;
		this.saveFileName = saveFileName;
		this.uploadFile = uploadFile;
		this.contentType = contentType;
		this.ref = ref;
		this.restep = restep;
		this.relevel = relevel;
		this.category = category;
	}

	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getTimePosted() {
		return timePosted;
	}
	public void setTimePosted(String timePosted) {
		this.timePosted = timePosted;
	}
	public int getHits() {
		return hits;
	}
	public void setHits(int hits) {
		this.hits = hits;
	}
	public String getOrgFileName() {
		return orgFileName;
	}
	public void setOrgFileName(String orgFileName) {
		this.orgFileName = orgFileName;
	}
	public String getSaveFileName() {
		return saveFileName;
	}
	public void setSaveFileName(String saveFileName) {
		this.saveFileName = saveFileName;
	}
	public MultipartFile getUploadFile() {
		return uploadFile;
	}
	public void setUploadFile(MultipartFile uploadFile) {
		this.uploadFile = uploadFile;
	}
	public String getContentType() {
		return contentType;
	}
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}
	public int getRef() {
		return ref;
	}
	public void setRef(int ref) {
		this.ref = ref;
	}
	public int getRestep() {
		return restep;
	}
	public void setRestep(int restep) {
		this.restep = restep;
	}
	public int getRelevel() {
		return relevel;
	}
	public void setRelevel(int relevel) {
		this.relevel = relevel;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	@Override
	public String toString() {
		return "BoardSpringVO [no=" + no + ", id=" + id + ", title=" + title
				+ ", content=" + content + ", timePosted=" + timePosted
				+ ", hits=" + hits + ", orgFileName=" + orgFileName
				+ ", saveFileName=" + saveFileName + ", uploadFile="
				+ uploadFile + ", contentType=" + contentType + ", ref=" + ref
				+ ", restep=" + restep + ", relevel=" + relevel + ", category="
				+ category + "]";
	}
	
}
